<!DOCTYPE HTML>
<html>
<head>
    @include('Layouts.meta')
    <link href="/css/common/H-ui.login.css" rel="stylesheet" type="text/css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="/js/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <script type="text/javascript" src="/js/lib/jquery.min.js"></script>
    <script src="/js/lib/login.js"></script>
    <title>后台管理系统</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
</head>
<body>
<input type="hidden" id="TenantId" name="TenantId" value="" />
<div class="header"></div>
<div class="loginWraper">
    <div id="loginform" class="loginBox">
        <form class="form form-horizontal" action="{{ url('admin/check') }}" method="post">
            {!! csrf_field() !!}
            <div class="row cl">
                <div class="formControls col-xs-8">
                    <i class="usernameImg"></i>
                    <input id="account" name="username" type="text" placeholder="账号" class="input-text size-L" value="{{ old('username') }}" >
                    <span></span>
                </div>
            </div>
            <div class="row cl">
                <div class="formControls col-xs-8">
                    <i class="passwordImg"></i>
                    <input id="password" name="password" type="password" placeholder="密码" class="input-text size-L"  value="{{ old('password') }}"  >
                    <span></span>
                </div>
            </div>
            <div class="row cl">
                <div class="formControls col-xs-12 ">
                    <input class="input-text size-L" type="text" placeholder="验证码" onblur="if(this.value==''){this.value='验证码:'}" onclick="if(this.value=='验证码:'){this.value='';}" value="验证码:" style="width:150px;" name="captcha" >
                    <img src="{{captcha_src()}}" alt="" id="img-captcha">
                    <a id="login-captcha" href="javascript:;">看不清，换一张</a> </div>
            </div>
            <div class="row cl">
                <div class="formControls col-xs-8 ">
                    <input name="" type="submit" class="btn btn-success radius size-L" value="&nbsp;登&nbsp;&nbsp;&nbsp;&nbsp;录&nbsp;">
                    <!-- <input name="" type="reset" class="btn btn-default radius size-L" value="&nbsp;取&nbsp;&nbsp;&nbsp;&nbsp;消&nbsp;"> -->
                </div>
            </div>
        </form>
    </div>
    <!-- <div class="footer">©御顺金融</div> -->
</div>
@include('Layouts.footer')
@if($errors)
    <script>
        var str = '{{ $errors->first() }}'
        if(str){
            layer.msg(str);
        }
    </script>
@endif
</body>
</html>